<template>
  <div class="abc" v-loading="loading">
    <BlogTabs :list="list">
      <template v-slot:blogData>
        <blog-item @isLoading="isLoading" />
      </template>
    </BlogTabs>
  </div>
</template>

<script>
import blogItem from './works-blog-item.vue'
export default {
  components: {
    blogItem
  },
  data() {
    return {
      loading: false,
      list: [
        {
          name: 'blogData',
          label: '博客数据',
          id: 1
        }
      ]
    }
  },
  methods: {
    isLoading(val) {
      this.loading = val
    }
  }
}
</script>

<style lang="scss"></style>
